import QtQuick 2.15

Rectangle {
    id:btn
    width:500
    height: 60
    color:"#df6c01"
    radius: 10
    FontLoader { id: fixedFont;name:"华文琥珀"}
    Text {
        id: textlogin
        text: qsTr("进入系统")
        color: "#eaeaea"
        anchors.centerIn:parent
        font.pointSize: 20
        font.family: fixedFont.name
    }
    MouseArea{
        anchors.fill:parent
        onClicked:{
            textlogin.text="Login"
            btn.color="#4a4a4a"
        }

    }

}
